package com.meiyou.pojo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Dianzan {

	private int id;
	
	private int dongtaiId;
	
	private int uZhanghao;
	
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date time;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getDongtaiId() {
		return dongtaiId;
	}

	public void setDongtaiId(int dongtaiId) {
		this.dongtaiId = dongtaiId;
	}

	public int getuZhanghao() {
		return uZhanghao;
	}

	public void setuZhanghao(int uZhanghao) {
		this.uZhanghao = uZhanghao;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	@Override
	public String toString() {
		return "Dianzan [id=" + id + ", dongtaiId=" + dongtaiId + ", uZhanghao=" + uZhanghao + ", time=" + time + "]";
	}
}
